package net.lzzy.practicesapi1.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * @author locker
 */
@Getter
@Setter
@ApiModel(description = "注册需要的用户参数")
public class RegisterInfo {
    @ApiModelProperty("用户名，登录名")
    private String user_name;
    @ApiModelProperty("用户昵称")
    private String nick_name;
    @ApiModelProperty("电子邮箱")
    private String email;
    @ApiModelProperty("用户电话，手机号码")
    private String phone;
    @ApiModelProperty("用户头像，传文件路径")
    private String avatar;
    @ApiModelProperty("用户密码")
    private String password;
    @ApiModelProperty("用户是否在注册时申请教师资格")
    private boolean apply_teacher;
}
